< previous page page_962 next page >

Page 962
7. You can compact a database onto itself with the File | Compact MDB command. This action is not advisable, however, as problems can occur during the compacting process.
8. You cannot modify a table's structure once data has been entered. You must delete all records before you can modify the structure.
9. You can save queries in Visdata for future use. You do this by building a query with the Query Builder and saving the results, or by entering an SQL statement and saving its result set.
10. Visdata can export data in the following formats:
e7ae6bd512ad4c3583017fcda52f57ae.gif
· Microsoft Access (Jet)
e7ae6bd512ad4c3583017fcda52f57ae.gif
· dBASE IV, III
e7ae6bd512ad4c3583017fcda52f57ae.gif
· FoxPro 2.6, 2.5, 2.0
e7ae6bd512ad4c3583017fcda52f57ae.gif
· Paradox 4.x, 3.x
e7ae6bd512ad4c3583017fcda52f57ae.gif
· Btrieve
e7ae6bd512ad4c3583017fcda52f57ae.gif
· Excel 5, 4, 3
e7ae6bd512ad4c3583017fcda52f57ae.gif
· Text
e7ae6bd512ad4c3583017fcda52f57ae.gif
· ODBC
11. You can use the Files | Compact Database option to convert existing Microsoft Access 2.0 databases to newer versions by selecting the new data format at the Compact Database submenu. Do not do this, however, as this is not the same converter used by Microsoft Access, and some objects in the database will be unusable by Access after the conversion.
Answers to Day 7 Exercises
1. To create the new database, select File | New | Microsoft Access | Version 7.0 MDB. Next, enter the path and the name of the database, and save.
2. Click the alternate mouse button in the Database window and select New from the menu that appears to build the new table. Insert the name tblCustomers in the Table Name field. Next, select Add to insert the fields. Enter the name, type, and size for each field, clicking OK after you complete each one. When all fields are entered, select Close. When you return to the Table Structure form, select Build Table.
3. To build the primary key, first make sure that tblCustomers is highlighted in the DatabaseQueries window, and select Design from the menu that appears when you click the alternate mouse button in the Database window. Select the Add Index

 
< previous page page_962 next page >

If you like this book, buy it!